package com.site.wisdom_construction.entity.scheduleModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */
@ApiModel (value ="延期记录表实体类",description = "DelayRecord")
public class DelayRecord {
	/**
	 * 延期记录表id
	 */
   	@ApiModelProperty(value = "延期记录表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id", name = "projectId")
	private String projectId;

	/**
	 * 滞后类型
	 */
   	@ApiModelProperty(value = "滞后类型", name = "delayName")
	private String delayName;

	/**
	 * 延期时间
	 */
   	@ApiModelProperty(value = "延期时间", name = "delayTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date delayTime;

	/**
	 * 延期说明
	 */
   	@ApiModelProperty(value = "延期说明", name = "delayRemark")
	private String delayRemark;

	public DelayRecord(){ super(); }

	public DelayRecord(Integer id, String projectId, String delayName, Date delayTime, String delayRemark) {
		this.id = id;
		this.projectId = projectId;
		this.delayName = delayName;
		this.delayTime = delayTime;
		this.delayRemark = delayRemark;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getDelayName() {
		return this.delayName;
	}

	public void setDelayName(String delayName) {
		this.delayName = delayName;
	}

	public Date getDelayTime() {
		return this.delayTime;
	}

	public void setDelayTime(Date delayTime) {
		this.delayTime = delayTime;
	}

	public String getDelayRemark() {
		return this.delayRemark;
	}

	public void setDelayRemark(String delayRemark) {
		this.delayRemark = delayRemark;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", delayName='" + delayName + '\'' +
				", delayTime='" + delayTime + '\'' +
				", delayRemark='" + delayRemark + '\'' +
				'}';
	}
}
